package com.graduation.springbootinit.model.entity.ShopPart;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
@TableName("shop_part_clothing_products")
public class ClothingProduct {
    
    @TableId(type = IdType.AUTO)
    private Long id;
    
    private String name;
    
    private String description;
    
    private BigDecimal price;

    private Integer categoryId;

    
    private String color;
    
    private String imageUrl;
    
//    private String detailImages;
    
    private Integer salesCount;
    
    private Integer status;
    
    private Date createdAt;
    
    private Date updatedAt;
    
    @TableField(exist = false)
    private List<SizeStock> sizeStocks;

    private Long storeId;
} 